package jschool.ui.materia;

import javax.swing.JPanel;
import java.awt.Frame;
import java.awt.BorderLayout;
import javax.swing.JDialog;
import java.awt.Dimension;

public class DialogoMateria extends JDialog {

	private static final long serialVersionUID = 1L;

	private PanelMateria panelMateria = null;

	/**
	 * @param owner
	 */
	public DialogoMateria(Frame owner, String Titulo) {
		super(owner);
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(444, 335);
		this.setContentPane(getJContentPane());
	}

	/**
	 * This method initializes jContentPane
	 * 
	 * @return javax.swing.JPanel
	 */
	private PanelMateria getJContentPane() {
		if (panelMateria == null) {
			panelMateria = new PanelMateria();
			panelMateria.setLayout(new BorderLayout());
		}
		return panelMateria;
	}

} // @jve:decl-index=0:visual-constraint="10,10"
